YearMonth

public final static YearMonth YearMonth(Integer year, Month month)
public final static YearMonth YearMonth(Integer year, Month month)

Creates a new instance of YearMonth with the given parameters.

Since

8.0.0

Parameters

year

The year to represent from Year.MIN_VALUE to Year.MAX_VALUE.

month

The month to represent.


public final static YearMonth YearMonth(Year year, Month month)
public final static YearMonth YearMonth(Year year, Month month)

Creates a new instance of YearMonth with the given parameters.

Since

8.0.0

Parameters

year

The year to represent.

month

The month to represent.